package com.xuebusi.toutiao.admin.api.user.form;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

@Data
@Validated
public class LoginForm {
    // 手机号
    @NotBlank(message = "手机号码不能为空")
    private String mobile;
    // 验证码
    @NotBlank(message = "验证码不能为空")
    private String code;
}
